<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    <p>
        <label for="{{ form_obj.c_name.id_for_label }}">{{ form_obj.c_name.label }}</label>
        {{ form_obj.c_name }}  <span>{{ form_obj.c_name.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.number.id_for_label }}">{{ form_obj.number.label }}</label>
        {{ form_obj.number }}  <span>{{ form_obj.number.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.buy_time.id_for_label }}">{{ form_obj.buy_time.label }}</label>
        {{ form_obj.buy_time }}  <span>{{ form_obj.buy_time.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.laboratory.id_for_label }}">{{ form_obj.laboratory.label }}</label>
        {{ form_obj.laboratory }}  <span>{{ form_obj.laboratory.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.buy_user.id_for_label }}">{{ form_obj.buy_user.label }}</label>
        {{ form_obj.buy_user }}  <span>{{ form_obj.buy_user.errors.0 }}</span>
    </p>

    <button>提交</button>
</form>

</body>
</html>